<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_id" data-rule="required" data-source="student/index" class="form-control selectpage" name="row[student_id]" type="text" value="{$row.student_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_name" class="form-control" name="row[student_name]" type="text" value="{$row.student_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_sex')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-student_sex" class="form-control selectpicker" name="row[student_sex]">
                {foreach name="studentSexList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.student_sex"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Major_level_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-major_level_dict" class="form-control selectpicker" name="row[major_level_dict]">
                {foreach name="majorLevelDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.major_level_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_level" class="form-control" name="row[student_level]" type="text" value="{$row.student_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Before_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="beforeStatusList" item="vo"}
            <label for="row[before_status]-{$key}"><input id="row[before_status]-{$key}" name="row[before_status]" type="radio" value="{$key}" {in name="key" value="$row.before_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('After_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="afterStatusList" item="vo"}
            <label for="row[after_status]-{$key}"><input id="row[after_status]-{$key}" name="row[after_status]" type="radio" value="{$key}" {in name="key" value="$row.after_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
